package com.gxljc.bear.crawler.itaogao;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Administrator
 * Date: 22-9-6
 * Time: 下午4:21
 * To change this template use File | Settings | File Templates.
 */
public class NewsPageTable implements Serializable {
	public String id = null;
    public String title = null;
    public String subTitle = null;
    public Date publishDate = null;
    public String logoUrl = null;
    public String content = null;
    public Integer crawlFlag ;
    public String crawlUrl = null;
    public int status = 0;
    public Date crawlDate = new Date();
    public String author = null;
    public List<String> images = null;
    public String source = null;
    public List<String> tagName = null;
    public Integer failTime = null; //失败次数，超过5次，不再爬取此文章


    public NewsPageTable(){

	}

    @Override
    public String toString() {
        return "NewsPageTable{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", subTitle='" + subTitle + '\'' +
                ", publishDate=" + publishDate +
                ", logoUrl='" + logoUrl + '\'' +
                ", content='" + content + '\'' +
                ", crawlFlag=" + crawlFlag +
                ", crawlUrl='" + crawlUrl + '\'' +
                ", status=" + status +
                ", crawlDate=" + crawlDate +
                ", author='" + author + '\'' +
                ", images=" + images +
                '}';
    }

    public Integer getFailTime() {
        return failTime;
    }

    public void setFailTime(Integer failTime) {
        this.failTime = failTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public List<String> getTagName() {
        return tagName;
    }

    public void setTagName(List<String> tagName) {
        this.tagName = tagName;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getCrawlFlag() {
        return crawlFlag;
    }

    public void setCrawlFlag(Integer crawlFlag) {
        this.crawlFlag = crawlFlag;
    }

    public String getCrawlUrl() {
        return crawlUrl;
    }

    public void setCrawlUrl(String crawlUrl) {
        this.crawlUrl = crawlUrl;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getCrawlDate() {
        return crawlDate;
    }

    public void setCrawlDate(Date crawlDate) {
        this.crawlDate = crawlDate;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }
}
